package com.iworkh.spring.genericdi.dao;

import com.iworkh.spring.genericdi.domain.Student;
import org.springframework.stereotype.Repository;

/**
 * BaseDao实现类
 *
 * @author: iworkh-沐雨云楼
 * @date: 2019-12-18
 */

@Repository
public class StudentDao extends BaseDao<Student> {

    @Override
    public void save(Student student){
        System.out.println("StudentDao save...");
    }

    @Override
    public void update(Student student) {
        System.out.println("StudentDao update...");
    }

    @Override
    public Student get(String id) {
        System.out.println("StudentDao get...");
        return null;
    }

    @Override
    public void delete(String id) {
        System.out.println("StudentDao delete...");
    }
}
